<%@page import="com.baoyanghui.common.Constants"%>
<%@page import="com.baoyanghui.common.Utils"%>
<%@page import="com.baoyanghui.config.Configs"%>
<%@page import="com.baoyanghui.common.InterfaceAccess"%>
<%@page import="java.util.HashMap"%>
<%@page import="java.util.Map"%>
<%@page import="com.baoyanghui.model.Customer"%>
<%@page import="net.sf.json.JSONObject"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<% 
	if (Utils.empty((String)request.getSession().getAttribute(Configs.SESSION_USER_ID))
			|| (Constants.USER_TYPE_MERCHANT == (Integer)request.getSession().getAttribute(Configs.SESSION_USER_TYPE))) {
		response.getWriter().print("<script type='text/javascript'>\n");
		response.getWriter().print("window.location.href='" + request.getContextPath() + "/index.jsp';\n");
		response.getWriter().print("</script>\n");
		response.getWriter().flush();
		return;
	}
%>
<script type="text/javascript" src="<%= request.getContextPath() %>/js/my_message.js"></script>
<div style="width: 350px; height:850px; float: left; position: relative; top: -5px;
	background: url('../image/line_vertical_gradient.png') right repeat-y;">
	<div style="padding-top: 20px; padding-right: 10px;" align="right">
		邮箱<select id="slt_mail_box" onchange="freshMessageList();">
			<option value="1">收件箱</option>
			<option value="3">发件箱</option>
		</select>
	</div>
	<div id="div_message_list">
	</div>
</div>
<div id="div_message_detail" style="width: 400px; height:850px; float: left; position: relative; top: -5px; padding-left: 10px;
	background: url('../image/line_vertical_gradient.png') right repeat-y;">
	
</div>
<div style="clear: both;"></div>